﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Microsoft.Practices.Unity;

namespace CoderJoe.WoW.Services
{
	public class CharacterService
	{
		protected Workspace Workspace { get; set; }

		public CharacterService(Workspace workspace)
		{
			Workspace = workspace;
		}

		public Character GetCharacterFromArmory(string realm, string name)
		{
			CoderJoe.WoW.Proxies.Armory.WoWArmoryProxy proxy = new CoderJoe.WoW.Proxies.Armory.WoWArmoryProxy();
			return proxy.GetCharacter(realm, name);
		}
	}
}
